using System;
using System.Collections.Generic;
using System.Text;
using GameEditor.Common;

namespace TaskSystemClient.SPM
{
    public class HistoryLogEntry : SPMObject
    {
        private int id;
        private string user;
        private DateTime time;
        private string action;
        private string oldData;
        private string newData;
        private string description;


        private int taskID;
        private string taskTitle;
        [Bind]
        public string TaskTitle
        {
            get { return taskTitle; }
            set { taskTitle = value; }
        }
        [Bind]
        public int TaskID
        {
            get { return taskID; }
            set { taskID = value; }
        }


        [Bind("OpDescription")]
        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        [Bind("OpData")]
        public string NewData
        {
            get { return newData; }
            set { newData = value; }
        }
        [Bind("OpOldData")]
        public string OldData
        {
            get { return oldData; }
            set { oldData = value; }
        }

        [Bind("OpAction")]
        public string Action
        {
            get { return action; }
            set { action = value; }
        }

        [Bind("OpID")]
        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        [Bind("OpTime")]
        public DateTime Time
        {
            get { return time; }
            set { time = value; }
        }
        [Bind("OpUser")]
        public string User
        {
            get { return user; }
            set { user = value; }
        }
    } 
}
